
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="stylesheet" href="style/flex.css">
    <title>刷题帮用户协议</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css">
    <link rel="stylesheet" href="tools/jquery-weui/jquery-weui.min.css">

</head>
<body>
    <div style="margin:20px;" id="content">
	</div>
</body>
<script src="tools/jquery-3.4.1.min.js"></script>
<script type="text/javascript">
	// 获取链接url参数
	function getQueryVariable(variable){
		var query = window.location.search.substring(1);
		var vars = query.split("&");
		for (var i=0;i<vars.length;i++) {
			   var pair = vars[i].split("=");
			   if(pair[0] == variable){return pair[1];}
		}
		return(false);
	}
	var appid=getQueryVariable("appid");
    $.ajax({
	 url:"http://60.217.33.60:8082/api/config/getAgreement?type=2",
	 //url:"https://api.zhongshi.cn/api/config/getAgreement?type=2",
	 method:"get",
	 headers: {
	 	"appid": appid
	 },
	 success:function(data,status){
        $("#content").html(data.data);
	 }
	});
</script>
</html>